/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.qdu.dao;

import com.qdu.entity.PublicActivity;
import java.util.List;

/**
 *
 * @author Daniel
 */
public interface PublicActivityDao {
    int insert(PublicActivity p);
    int update(PublicActivity p);
    int join(PublicActivity p);
    int deleteByPno(int Pno);
    PublicActivity getOneByPno(int Pno);
    List<PublicActivity> getActivityByKeyword(String Ptopic);
    List<PublicActivity> getActivityByUno(int Uno);
    List<PublicActivity> getAll();
    
}
